home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
pdcurs21.zip
/
NONPORT.ZIP
/
MVWINSER.C
< prev
next >
Wrap
Text File
|
1992-11-21
|
1KB
|
37 lines
#define CURSES_LIBRARY 1
#include <curses.h>
#undef mvwinsert
#ifndef NDEBUG
char *rcsid_mvwinser = "$Header: c:/curses/nonport/RCS/mvwinser.c%v 2.0 1992/11/15 03:18:27 MH Rel $";
#endif
/*man-start*********************************************************************
mvwinsert() - Insert line
PDCurses Description:
A blank line is inserted above the current line and the bottom
line is lost.
This routine is provided as an extension to the X/Open interface.
PDCurses Return Value:
These functions return OK on success and ERR on error.
PDCurses Errors:
It is an error to call this function with a NULL window pointer.
Portability:
PDCurses int mvwinsertln( WINDOW win, int y, int x );
**man-end**********************************************************************/
int mvwinsertln(WINDOW *win, int y, int x)
{
return( (wmove(win, y, x) == ERR) ? ERR : winsertln(win) );
}